home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / BROWSER.XPI / bin / chrome / toolkit.jar / content / global / config.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-10-25  |  4.9 KB  |  109 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/content/config.css" type="text/css"?>
  4.  
  5. <!-- ***** BEGIN LICENSE BLOCK *****
  6.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  7.  
  8.  The contents of this file are subject to the Mozilla Public License Version
  9.  1.1 (the "License"); you may not use this file except in compliance with
  10.  the License. You may obtain a copy of the License at
  11.  http://www.mozilla.org/MPL/
  12.  
  13.  Software distributed under the License is distributed on an "AS IS" basis,
  14.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  15.  for the specific language governing rights and limitations under the
  16.  License.
  17.  
  18.  The Original Code is Mozilla Communicator client code, released
  19.  March 31, 1998.
  20.  
  21.  The Initial Developer of the Original Code is
  22.  Netscape Communications Corporation.
  23.  Portions created by the Initial Developer are Copyright (C) 1998-1999
  24.  the Initial Developer. All Rights Reserved.
  25.  
  26.  Contributor(s):
  27.    Chip Clark <chipc@netscape.com>
  28.    Seth Spitzer <sspitzer@netscape.com>
  29.    Neil Rashbrook <neil@parkwaycc.co.uk>
  30.  
  31.  Alternatively, the contents of this file may be used under the terms of
  32.  either of the GNU General Public License Version 2 or later (the "GPL"),
  33.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  34.  in which case the provisions of the GPL or the LGPL are applicable instead
  35.  of those above. If you wish to allow use of your version of this file only
  36.  under the terms of either the GPL or the LGPL, and not to allow others to
  37.  use your version of this file under the terms of the MPL, indicate your
  38.  decision by deleting the provisions above and replace them with the notice
  39.  and other provisions required by the GPL or the LGPL. If you do not delete
  40.  the provisions above, a recipient may use your version of this file under
  41.  the terms of any one of the MPL, the GPL or the LGPL.
  42.  
  43.  ***** END LICENSE BLOCK ***** -->
  44.  
  45. <!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
  46.  
  47. <window id="config"
  48.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  49.         title="&window.title;"
  50.         width="750"
  51.         height="500"
  52.         onunload="onConfigUnload();"
  53.         onload="onConfigLoad();">
  54.  
  55. <script src="chrome://global/content/config.js"/>
  56.  
  57. <stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
  58.  
  59. <popup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
  60.   <menuitem id="copyName" label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
  61.   <menuitem id="copyValue" label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
  62.   <menu label="&new.label;" accesskey="&new.accesskey;">
  63.     <menupopup>
  64.       <menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
  65.       <menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
  66.       <menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
  67.     </menupopup>
  68.   </menu>
  69.   <menuitem id="toggleSelected" label="&toggle.label;" accesskey="&toggle.accesskey;" oncommand="ModifySelected();"/>
  70.   <menuitem id="modifySelected" label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
  71.   <menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
  72. </popup>
  73.  
  74. <keyset>
  75.   <key keycode="VK_ENTER" oncommand="ModifySelected();"/>
  76.   <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
  77. </keyset>
  78.  
  79. <hbox align="center">
  80.   <label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
  81.   <textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
  82.   <button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
  83. </hbox>
  84.  
  85. <tree id="configTree" flex="1" class="plain focusring" seltype="single"
  86.       enableColumnDrag="true" context="configContext">
  87.   <treecols>
  88.     <treecol id="prefCol" label="&prefColumn.label;" flex="7"
  89.         class="sortDirectionIndicator"
  90.         ignoreincolumnpicker="true"
  91.         persist="hidden width ordinal sortDirection"/>
  92.     <splitter class="tree-splitter" />
  93.     <treecol id="lockCol" label="&lockColumn.label;" flex="1"
  94.         class="sortDirectionIndicator"
  95.         persist="hidden width ordinal sortDirection"/>
  96.     <splitter class="tree-splitter" />
  97.     <treecol id="typeCol" label="&typeColumn.label;" flex="1"
  98.         class="sortDirectionIndicator"
  99.         persist="hidden width ordinal sortDirection"/>
  100.     <splitter class="tree-splitter" />
  101.     <treecol id="valueCol" label="&valueColumn.label;" flex="10"
  102.         class="sortDirectionIndicator"
  103.         persist="hidden width ordinal sortDirection"/>
  104.   </treecols>
  105.  
  106.   <treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
  107. </tree>
  108. </window>
  109.